//index.js  
//获取应用实例  
var app = getApp()  
Page({  
  data: {  
  },  
  onLoad: function () {  
  },
  gotoPage1: function(){ wx.navigateTo({ url: '/pages/takephoto/takephoto', }) },
  gotoPage2: function(){ wx.navigateTo({ url: '/pages/input/input', }) },
})  